﻿<UserControl x:Class="Core.Controls.StardustButton"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="62" d:DesignWidth="62">
    <Border x:Name="ButtonBorder" BorderThickness="1" BorderBrush="{Binding BorderBrush}" CornerRadius="4,4,4,4" Margin="1"
            MouseLeftButtonDown="Grid1_MouseLeftButtonDown" Background="{Binding BackBrush}">
        
        <Grid x:Name="Grid1">
            <Grid.RowDefinitions>
                <RowDefinition Height="42*" />
                <RowDefinition Height="18*" />
            </Grid.RowDefinitions>
            <TextBlock Grid.Row="1" Name="TextBlock1" Text="Button" Height="18" VerticalAlignment="Bottom" TextAlignment="Center" />
            <Image Name="Image1" Stretch="Uniform"
                   RenderOptions.BitmapScalingMode="Fant"/>
        </Grid>
    </Border>
</UserControl>
